<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */    	
    }

    public function indexAction()
    {
        $layout = $this->_helper->layout();
        $layout->title =  "送礼网";   
        $layout->keywords = "送礼送什么,礼品,送礼不愁";
        $layout->description = "送礼送什么,礼品,送礼不愁";
        
        //加载导航菜单
        $layout->tag = "index";
        $nav = new Application_Model_NavMapper();
        $layout->navlist = $nav->fetchAllSort(); 

        $malltype = new Application_Model_MalltypeMapper();
        $this->view->malltype = $malltype->fetchAllSort();
        
        $malls = new Application_Model_MallMapper();
        $this->view->malls = $malls->fetchAllSort();
        
    }


}

